package com.feng.spring52.dao;

import com.feng.spring52.entity.Book;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Repository;

@Repository
public class BookDaoImpl implements BookDao {

    @Autowired
    JdbcTemplate jdbcTemplate;

    public void add(Book book) {
        String sql = "insert into book value(?,?)";
        jdbcTemplate.update()
    }
}
